/*
 * @Author: huyu 
 * @Date: 2020-06-06 11:36:57 
 * @Last Modified by: huyu
 * @Last Modified time: 2020-06-20 22:10:24
 */
@import "../../theme/index.less";

// 内容组件样式
.main {
  padding-top: @header-height;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  display: flex;
  align-items: stretch;
  justify-content: center;
}

.view {
  flex: 1;
  overflow: hidden;
  padding: @padding;
  padding-top: 0;
  border-radius: 0 0 @border-radius @border-radius;
  min-width: @content-max-width-small;
  max-width: @content-max-width-normal;
  background-color: @content-back-color;
  box-shadow: 0 0 4px @gray-light;
}

@media screen and (max-width: 1367px) {
  .view {
    max-width: @content-max-width-small;
    min-width: 100%;
  }
}

@media screen and (min-width: 1921px) {
  .view {
    max-width: @content-max-width-big;
  }
}

.sideBar {
  flex-basis: 200px;
  flex-shrink: 0;
}

@media screen and (max-width: 1000px) {
  .sideBar {
    flex-basis: 0px;
    flex-shrink: 0;
  }
}

// 侧边栏
.sideBarRight {
  position: fixed;
  top: @header-height+ @margin;
  right: 0;
  z-index: 10;
  padding: @padding;
  background-color: @white;
}